package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 选择题对象 zzxx_choicequestion
 * 
 * @author ruoyi
 * @date 2022-06-20
 */
public class ZzxxChoicequestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 题干 */
    @Excel(name = "题干")
    private String title;

    /** 难度级别 */
    @Excel(name = "难度级别")
    private String level;

    /** 知识点 */
    @Excel(name = "知识点")
    private String knowledge;


       /** 答案 */
    @Excel(name = "答案")
    private String answer;


    /** 选项1 */
    @Excel(name = "选项1")
    private String optiona;

    /** 选项2 */
    @Excel(name = "选项2")
    private String optionb;

    /** 选项3 */
    @Excel(name = "选项3")
    private String optionc;

    /** 选项4 */
    @Excel(name = "选项4")
    private String optiond;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAnswer(String answer)
    {
        this.answer = answer;
    }

    public String getAnswer()
    {
        return this.answer;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setKnowledge(String knowledge) 
    {
        this.knowledge = knowledge;
    }

    public String getKnowledge() 
    {
        return knowledge;
    }
    public void setOptiona(String optiona) 
    {
        this.optiona = optiona;
    }

    public String getOptiona() 
    {
        return optiona;
    }
    public void setOptionb(String optionb) 
    {
        this.optionb = optionb;
    }

    public String getOptionb() 
    {
        return optionb;
    }
    public void setOptionc(String optionc) 
    {
        this.optionc = optionc;
    }

    public String getOptionc() 
    {
        return optionc;
    }
    public void setOptiond(String optiond) 
    {
        this.optiond = optiond;
    }

    public String getOptiond() 
    {
        return optiond;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("level", getLevel())
                .append("answer", getAnswer())
            .append("knowledge", getKnowledge())
            .append("optiona", getOptiona())
            .append("optionb", getOptionb())
            .append("optionc", getOptionc())
            .append("optiond", getOptiond())
            .append("type", getType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
